home *** CD-ROM | disk | FTP | other *** search
/ Macromedia Multimedia Showcase 5.1 / Macromedia - Multimedia Showcase 5.1 (Macromedia) (1996).ISO / pc / media / shared.dir / 02018_Script_2018 < prev    next >
Text File  |  1996-03-28  |  730b  |  29 lines

  1. -- *** CUSTOM START of the Animation QuickTime video sequence
  2.  
  3. on enterFrame
  4.   global gNavObj, gAnimationReturnTime, gAnimReturnSet
  5.   if not(the fadingOut of gNavObj) then
  6.     set the movieRate of sprite the QTMSprite of gNavObj = 0
  7.     if gAnimReturnSet then
  8.       set the movieTime of sprite the QTMSprite of gNavObj = integer(60*gAnimationReturnTime)
  9.       set gAnimReturnSet = FALSE
  10.     end if
  11.   end if
  12. end
  13.  
  14. --
  15.  
  16. on exitFrame
  17.   global gNavObj
  18.   UpdateRollover(gNavObj)  
  19.   if not(the fadingOut of gNavObj) then    
  20.     set the fadingOut of gNavObj = TRUE
  21.     StartMusicFadeOut(gNavObj)
  22.   end if
  23.   --
  24.   if MusicFadeOutDone(gNavObj) then
  25.     StartQTMEvent(gNavObj)
  26.   else
  27.     go the frame
  28.   end if
  29. end